﻿using DFGK_WMS.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK.IService
{
    public interface IDepartMentService
    {
        bool AddDepartMentList(List<Department> departments, out string message);

        List<Department> GetAllDepartment(string? name, int pageIndex, int pageSize, out int totalCount);
    }
}
